﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="CreateQA.aspx.cs" Inherits="NhanAi.Admin.CreateQA" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditor" %>
<%@ Register Src="~/Admin/PostAtt.ascx" TagPrefix="uc2" TagName="PostAtt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style1 {
            height: 16px;
        }
    </style>
    <script type="text/javascript" src="../Scripts/filebrowser.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="formMain" runat="server">
    <h3>Thêm Hỏi-Đáp</h3>
        <table class="full-width" style="line-height:35px; vertical-align:top;">
            <tr>
                <td class="pan-label important">Tiêu đề</td>
                <td class="pan-label important">&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style1">
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="post-title-input"></asp:TextBox>
                </td>
                <td class="auto-style1">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="pan-label">Câu hỏi</td>
                <td class="pan-label">Trả lời</td>
            </tr>
            <tr>
                <td class="auto-style1"><FCKeditor:FCKeditor ID="PostContent" runat="server" BasePath="~/fckeditor/" Width="95%" Height="300" ToolbarSet="Basic"></FCKeditor:FCKeditor></td>
                <td class="auto-style1"><FCKeditor:FCKeditor ID="PostContentEn" runat="server" BasePath="~/fckeditor/" Width="95%" Height="300" ToolbarSet="Basic"></FCKeditor:FCKeditor></td>
            </tr>
            <tr>
                <td class="pan-label" important>Trạng thái</td>
                <td style="vertical-align:top;">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:DropDownList ID="cmbStatus" runat="server" CssClass="dropdown">
                    </asp:DropDownList>
                </td>
                <td style="vertical-align:top;">
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="btnCreate" runat="server" Text="Tạo" OnClick="btnCreate_Click" CssClass="pan-button" />
                    <asp:Button ID="btnList" runat="server" Text="Xem danh sách" CssClass="pan-button" OnClick="btnReset_Click" />
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </form>
</asp:Content>
